   import java.io.File;
   import java.io.FileReader;
   import java.io.FileWriter;
   import java.io.IOException;
	
    class abc
   {
       public static void main(String[] args)throws Exception
      {	
         File inputFile = new File("input.txt");
         File outputFile = new File("output_sample.txt");
      
         FileReader in = new FileReader(inputFile);
         FileWriter out = new FileWriter(outputFile);
         int c;
      
         while ((c = in.read()) != -1)
            out.write(c);
      
         in.close();
         out.close();
      	
      	     	
      }   
   }